package models;

public class untaggedParams {

	private String id;
	private String ptype;
	private String text;
	private boolean required;
	private String[] values;
	private String defalut;
	private String iotype;
	private int position;
	private String requiredstr ="";
	
	public String getRequiredstr() {
		if(required)
			return "*";
		else	
		return requiredstr;
	}
	public void setRequiredstr(String requiredstr) {
		this.requiredstr = requiredstr;
	}
	
	public int getPosition() {
		return position;
	}
	public void setPosition(int position) {
		this.position = position;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getPtype() {
		return ptype;
	}
	public void setPtype(String ptype) {
		this.ptype = ptype;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isRequired() {
		return required;
	}
	public void setRequired(boolean required) {
		this.required = required;
	}
	public String[] getValues() {
		return values;
	}
	public void setValues(String[] values) {
		this.values = values;
	}
	public String getDefalut() {
		return defalut;
	}
	public void setDefalut(String defalut) {
		this.defalut = defalut;
	}
	public String getIotype() {
		return iotype;
	}
	public void setIotype(String iotype) {
		this.iotype = iotype;
	}
}
